package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.Department;
import cn.wolfcode.car.common.base.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DepartmentMapper {

    Department selectOne(Long id);

    List<Department> selectAll();

    List<Department> queryForList(QueryObject qo);

    void insert(Department department);

    void insertBatch(@Param("list") List<Department> department);

    void update(Department department);

    void deleteById(Long id);

}

